<wxs src="../../utils/common.wxs" module="filter" />
<view class="product_list_box" bindtap="detailClick" data-code='{{item.id}}'>
    <view class="product_list">

        <view class="left"> 
             <!--  wxEquipmentPic -->
             <image   wx:if='{{item.wxEquipmentPic.length>0}}' src="{{item.wxEquipmentPic[0].url}}" />
             <image  wx:if='{{item.type==10&&item.wxEquipmentPic.length==0}}' src="http://qn.shebeib.com/11108e3e317028cf3d31fde3f3a133d.jpg" />
             <image  wx:if='{{item.type==20&&item.wxEquipmentPic.length==0}}' src="http://qn.shebeib.com/9edf66749d0f2105a59e5f2aeb201ee.jpg" />
        </view>
        <view class="right_content">
            <view class="title">{{item.title}}</view>
            <view class="time_address">
                <view>
                <image src="../../image/time_icon.png" /><text>{{filter.flitTime(item.updated)}}</text>
                </view>
                <view>
                <image src="../../image/position_gray_icon.png" /><text>{{filter.fitName(item.city)}}</text>
               </view>
            </view>
            <view class="user_info">
                <view class="user">
                    <view class="header_image">
                        <image  src="{{item.wxUser.avatarUrl}}" />
                    </view>
                    <view class="set_info">
                        <view><text>{{filter.fitName(item.wxUser.nickName)}} </text></view>
                        <view>在售设备<text>{{item.equnum}}台</text><label class='small  {{item.type==10?"color1":"color2"}}'> {{item.type==10?'塔吊':'电梯'}}</label></view>
                    </view>
                </view>
                <view class="info_price" wx:if='{{item.price!=0}}'>{{item.price}}万</view>
                <view class="info_price" wx:else>面议</view>
            </view>
        </view>
    </view>
</view>